import request from '@/utils/request'
const apiUrl = "/api/file-reissue"
// 分页查询文件补发申请单
export function getFileReissueList(params) {
    return request({
        url: `${apiUrl}/page`,
        method: 'get',
        params
    })
}

// 根据ID获取文件补发申请单
export function getFileReissueById(id) {
    return request({
        url: `${apiUrl}/${id}`,
        method: 'get'
    })
}

// 保存或更新文件补发申请单
export function saveFileReissue(data) {
    return request({
        url: `${apiUrl}`,
        method: 'post',
        data
    })
}

// 删除文件补发申请单
export function deleteFileReissue(id) {
    return request({
        url: `${apiUrl}/${id}`,
        method: 'delete'
    })
} 